package com.yue.mytest.collection;

import java.util.ArrayList;
import java.util.List;

/**
 * 功能描述: TODO <br/>
 * 创建时间: 2016/11/15<br/>
 *
 * @author QiuYang
 */
public class TestList {
    public static void main(String[] args) {
        testContains();
    }

    public static void testContains(){
        List<String> list = new ArrayList<>();
        list.add("zhangsan");
        list.add("lisi");

        List<String> list2 = new ArrayList<>();
        list2.add("zhangsan");
        list2.add("wangwu");

        System.out.println(list.containsAll(list2));

    }
}
